<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use App\Lib\rc;

class RcRoomMake extends Command
{
    protected $signature = 'RcRoomMake';

    protected $description = '创建融云房间';

    public function __construct()
    {
        parent::__construct();
    }

    public function handle()
    {
        $roomId = 105;
        $roomName = '三国群英';

        $lib_rong = new rc();
        $ret = $lib_rong->create_chat_room($roomId, $roomName);
        print_r($ret);
    }

}